package com.sina.weibo;

import android.os.Binder;
import android.os.IBinder;
import android.os.IInterface;
import android.os.Parcel;
import android.os.RemoteException;
import java.util.ArrayList;
import java.util.List;

public abstract interface WeiboRemoteService extends IInterface
{
  public abstract boolean getAttentionList(String paramString, int paramInt1, int paramInt2, int paramInt3, int paramInt4, List<IBinder> paramList)
    throws RemoteException;

  public abstract boolean getHomeList(int paramInt1, int paramInt2, List<IBinder> paramList)
    throws RemoteException;

  public abstract boolean isLogged()
    throws RemoteException;

  public abstract void login()
    throws RemoteException;

  public abstract boolean loginBackground(String paramString1, String paramString2)
    throws RemoteException;

  public abstract boolean postWeibo(String paramString)
    throws RemoteException;

  public abstract boolean postWeiboWithImage(String paramString1, String paramString2)
    throws RemoteException;

  public abstract class Stub extends Binder
    implements WeiboRemoteService
  {
    private static final String DESCRIPTOR = "com.sina.weibo.WeiboRemoteService";
    static final int TRANSACTION_getAttentionList = 7;
    static final int TRANSACTION_getHomeList = 6;
    static final int TRANSACTION_isLogged = 1;
    static final int TRANSACTION_login = 2;
    static final int TRANSACTION_loginBackground = 3;
    static final int TRANSACTION_postWeibo = 5;
    static final int TRANSACTION_postWeiboWithImage = 4;

    public Stub()
    {
      attachInterface(this, "com.sina.weibo.WeiboRemoteService");
    }

    public static WeiboRemoteService asInterface(IBinder paramIBinder)
    {
      Object localObject;
      if (paramIBinder == null)
        localObject = null;
      while (true)
      {
        return localObject;
        IInterface localIInterface = paramIBinder.queryLocalInterface("com.sina.weibo.WeiboRemoteService");
        if ((localIInterface != null) && ((localIInterface instanceof WeiboRemoteService)))
        {
          localObject = (WeiboRemoteService)localIInterface;
          continue;
        }
        localObject = new Proxy();
      }
    }

    public IBinder asBinder()
    {
      return this;
    }

    public boolean onTransact(int paramInt1, Parcel paramParcel1, Parcel paramParcel2, int paramInt2)
      throws RemoteException
    {
      int i;
      switch (paramInt1)
      {
      default:
        i = super.onTransact(paramInt1, paramParcel1, paramParcel2, paramInt2);
      case 1598968902:
      case 1:
      case 2:
        while (true)
        {
          return i;
          paramParcel2.writeString("com.sina.weibo.WeiboRemoteService");
          i = 1;
          continue;
          paramParcel1.enforceInterface("com.sina.weibo.WeiboRemoteService");
          boolean bool1 = isLogged();
          paramParcel2.writeNoException();
          if (bool1);
          for (i = 1; ; j = 0)
          {
            paramParcel2.writeInt(i);
            j = 1;
            break;
          }
          paramParcel1.enforceInterface("com.sina.weibo.WeiboRemoteService");
          login();
          paramParcel2.writeNoException();
          j = 1;
        }
      case 3:
        paramParcel1.enforceInterface("com.sina.weibo.WeiboRemoteService");
        String str1 = paramParcel1.readString();
        String str2 = paramParcel1.readString();
        boolean bool2 = loginBackground(str1, str2);
        paramParcel2.writeNoException();
        if (bool2);
        for (j = 1; ; j = 0)
        {
          paramParcel2.writeInt(j);
          j = 1;
          break;
        }
      case 4:
        paramParcel1.enforceInterface("com.sina.weibo.WeiboRemoteService");
        String str3 = paramParcel1.readString();
        String str4 = paramParcel1.readString();
        boolean bool3 = postWeiboWithImage(str3, str4);
        paramParcel2.writeNoException();
        if (bool3);
        for (j = 1; ; j = 0)
        {
          paramParcel2.writeInt(j);
          j = 1;
          break;
        }
      case 5:
        paramParcel1.enforceInterface("com.sina.weibo.WeiboRemoteService");
        String str5 = paramParcel1.readString();
        boolean bool4 = postWeibo(str5);
        paramParcel2.writeNoException();
        if (bool4);
        for (j = 1; ; j = 0)
        {
          paramParcel2.writeInt(j);
          j = 1;
          break;
        }
      case 6:
        paramParcel1.enforceInterface("com.sina.weibo.WeiboRemoteService");
        int k = paramParcel1.readInt();
        int m = paramParcel1.readInt();
        ArrayList localArrayList1 = paramParcel1.createBinderArrayList();
        boolean bool5 = getHomeList(k, m, localArrayList1);
        paramParcel2.writeNoException();
        if (bool5);
        for (j = 1; ; j = 0)
        {
          paramParcel2.writeInt(j);
          paramParcel2.writeBinderList(localArrayList1);
          j = 1;
          break;
        }
      case 7:
      }
      paramParcel1.enforceInterface("com.sina.weibo.WeiboRemoteService");
      String str6 = paramParcel1.readString();
      int n = paramParcel1.readInt();
      int i1 = paramParcel1.readInt();
      int i2 = paramParcel1.readInt();
      int i3 = paramParcel1.readInt();
      ArrayList localArrayList2 = paramParcel1.createBinderArrayList();
      boolean bool6 = getAttentionList(str6, n, i1, i2, i3, localArrayList2);
      paramParcel2.writeNoException();
      if (bool6);
      for (int j = 1; ; j = 0)
      {
        paramParcel2.writeInt(j);
        paramParcel2.writeBinderList(localArrayList2);
        j = 1;
        break;
      }
    }

    class Proxy
      implements WeiboRemoteService
    {
      Proxy()
      {
      }

      public IBinder asBinder()
      {
        return WeiboRemoteService.Stub.this;
      }

      public boolean getAttentionList(String paramString, int paramInt1, int paramInt2, int paramInt3, int paramInt4, List<IBinder> paramList)
        throws RemoteException
      {
        Parcel localParcel1 = Parcel.obtain();
        Parcel localParcel2 = Parcel.obtain();
        try
        {
          localParcel1.writeInterfaceToken("com.sina.weibo.WeiboRemoteService");
          localParcel1.writeString(paramString);
          localParcel1.writeInt(paramInt1);
          localParcel1.writeInt(paramInt2);
          localParcel1.writeInt(paramInt3);
          localParcel1.writeInt(paramInt4);
          localParcel1.writeBinderList(paramList);
          boolean bool = WeiboRemoteService.Stub.this.transact(7, localParcel1, localParcel2, 0);
          localParcel2.readException();
          if (localParcel2.readInt() != 0)
          {
            i = 1;
            localParcel2.readBinderList(paramList);
            return i;
          }
          int i = 0;
        }
        finally
        {
          localParcel2.recycle();
          localParcel1.recycle();
        }
      }

      public boolean getHomeList(int paramInt1, int paramInt2, List<IBinder> paramList)
        throws RemoteException
      {
        Parcel localParcel1 = Parcel.obtain();
        Parcel localParcel2 = Parcel.obtain();
        try
        {
          localParcel1.writeInterfaceToken("com.sina.weibo.WeiboRemoteService");
          localParcel1.writeInt(paramInt1);
          localParcel1.writeInt(paramInt2);
          localParcel1.writeBinderList(paramList);
          boolean bool = WeiboRemoteService.Stub.this.transact(6, localParcel1, localParcel2, 0);
          localParcel2.readException();
          if (localParcel2.readInt() != 0)
          {
            i = 1;
            localParcel2.readBinderList(paramList);
            return i;
          }
          int i = 0;
        }
        finally
        {
          localParcel2.recycle();
          localParcel1.recycle();
        }
      }

      public String getInterfaceDescriptor()
      {
        return "com.sina.weibo.WeiboRemoteService";
      }

      public boolean isLogged()
        throws RemoteException
      {
        Parcel localParcel1 = Parcel.obtain();
        Parcel localParcel2 = Parcel.obtain();
        try
        {
          localParcel1.writeInterfaceToken("com.sina.weibo.WeiboRemoteService");
          boolean bool = WeiboRemoteService.Stub.this.transact(1, localParcel1, localParcel2, 0);
          localParcel2.readException();
          int i = localParcel2.readInt();
          if (i != 0)
          {
            j = 1;
            return j;
          }
          int j = 0;
        }
        finally
        {
          localParcel2.recycle();
          localParcel1.recycle();
        }
      }

      public void login()
        throws RemoteException
      {
        Parcel localParcel1 = Parcel.obtain();
        Parcel localParcel2 = Parcel.obtain();
        try
        {
          localParcel1.writeInterfaceToken("com.sina.weibo.WeiboRemoteService");
          boolean bool = WeiboRemoteService.Stub.this.transact(2, localParcel1, localParcel2, 0);
          localParcel2.readException();
          return;
        }
        finally
        {
          localParcel2.recycle();
          localParcel1.recycle();
        }
        throw localObject;
      }

      public boolean loginBackground(String paramString1, String paramString2)
        throws RemoteException
      {
        Parcel localParcel1 = Parcel.obtain();
        Parcel localParcel2 = Parcel.obtain();
        try
        {
          localParcel1.writeInterfaceToken("com.sina.weibo.WeiboRemoteService");
          localParcel1.writeString(paramString1);
          localParcel1.writeString(paramString2);
          boolean bool = WeiboRemoteService.Stub.this.transact(3, localParcel1, localParcel2, 0);
          localParcel2.readException();
          int i = localParcel2.readInt();
          if (i != 0)
          {
            j = 1;
            return j;
          }
          int j = 0;
        }
        finally
        {
          localParcel2.recycle();
          localParcel1.recycle();
        }
      }

      public boolean postWeibo(String paramString)
        throws RemoteException
      {
        Parcel localParcel1 = Parcel.obtain();
        Parcel localParcel2 = Parcel.obtain();
        try
        {
          localParcel1.writeInterfaceToken("com.sina.weibo.WeiboRemoteService");
          localParcel1.writeString(paramString);
          boolean bool = WeiboRemoteService.Stub.this.transact(5, localParcel1, localParcel2, 0);
          localParcel2.readException();
          int i = localParcel2.readInt();
          if (i != 0)
          {
            j = 1;
            return j;
          }
          int j = 0;
        }
        finally
        {
          localParcel2.recycle();
          localParcel1.recycle();
        }
      }

      public boolean postWeiboWithImage(String paramString1, String paramString2)
        throws RemoteException
      {
        Parcel localParcel1 = Parcel.obtain();
        Parcel localParcel2 = Parcel.obtain();
        try
        {
          localParcel1.writeInterfaceToken("com.sina.weibo.WeiboRemoteService");
          localParcel1.writeString(paramString1);
          localParcel1.writeString(paramString2);
          boolean bool = WeiboRemoteService.Stub.this.transact(4, localParcel1, localParcel2, 0);
          localParcel2.readException();
          int i = localParcel2.readInt();
          if (i != 0)
          {
            j = 1;
            return j;
          }
          int j = 0;
        }
        finally
        {
          localParcel2.recycle();
          localParcel1.recycle();
        }
      }
    }
  }
}

/* Location:           D:\Program Files\eclipse\apktool-r01-3\新浪微博\classes.dex.dex2jar.jar
 * Qualified Name:     com.sina.weibo.WeiboRemoteService
 * JD-Core Version:    0.6.0
 */